home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD-ROM Today - The Disc! 5
/
CD-ROM Today - The Disc (Issue 5)(November 1994).ISO
/
mac
/
Mac shareware
/
Education
/
RLaB
/
help
/
close
< prev
next >
Wrap
Text File
|
1994-09-21
|
606b
|
23 lines
close:
Syntax: close ( "filename" )
Description:
close() takes a string as input, and attempts to close the
output stream associated with the string. close() returns TRUE
(1) if the output stream was successfully closed, FALSE (0) if
the output stream could not be closed.
If you want to read the contents of a file that you have
created with the write() function in the present session, then
be sure to close the file before using the read function.
Example:
write( "eig_output", a , vec , val );
close( "eig_output" );
read( "eig_output" );
See Also: FILES printf, fprintf, read, write